package top.meeting.room.baseModel;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;

/**
 * 我有故事，你有酒么？
 * JKhaled created by yunqisong@foxmail.com  
 * FOR : BaseBook 
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseBook<M extends BaseBook<M>> extends Model<M> implements IBean {

	public static final String id = "id" ; 

	public static final String startTime = "start_time" ; 

	public static final String endTime = "end_time" ; 

	public static final String status = "status" ; 

	public static final String reason = "reason" ; 

	public static final String bookUser = "book_user" ; 

	public static final String bookApprover = "book_approver" ; 

	public static final String bookDate = "book_date" ; 

	public static final String refuse = "refuse" ; 

	public static final String room = "room" ; 

	public M setId(java.lang.Long id) {
		set("id", id);
		return (M)this;
	}

	public java.lang.Long getId() {
		return get("id");
	}

	public M setStartTime(java.util.Date startTime) {
		set("start_time", startTime);
		return (M)this;
	}

	public java.util.Date getStartTime() {
		return get("start_time");
	}

	public M setEndTime(java.util.Date endTime) {
		set("end_time", endTime);
		return (M)this;
	}

	public java.util.Date getEndTime() {
		return get("end_time");
	}

	public M setStatus(java.lang.Integer status) {
		set("status", status);
		return (M)this;
	}

	public java.lang.Integer getStatus() {
		return get("status");
	}

	public M setReason(java.lang.String reason) {
		set("reason", reason);
		return (M)this;
	}

	public java.lang.String getReason() {
		return get("reason");
	}

	public M setBookUser(java.lang.Long bookUser) {
		set("book_user", bookUser);
		return (M)this;
	}

	public java.lang.Long getBookUser() {
		return get("book_user");
	}

	public M setBookApprover(java.lang.Long bookApprover) {
		set("book_approver", bookApprover);
		return (M)this;
	}

	public java.lang.Long getBookApprover() {
		return get("book_approver");
	}

	public M setBookDate(java.lang.Long bookDate) {
		set("book_date", bookDate);
		return (M)this;
	}

	public java.lang.Long getBookDate() {
		return get("book_date");
	}

	public M setRefuse(java.lang.String refuse) {
		set("refuse", refuse);
		return (M)this;
	}

	public java.lang.String getRefuse() {
		return get("refuse");
	}

	public M setRoom(java.lang.Long room) {
		set("room", room);
		return (M)this;
	}

	public java.lang.Long getRoom() {
		return get("room");
	}

}
